

import { observable, configure } from "mobx";
configure({ enforceActions: "never" });

const textEditorerStore = observable({

    show: false,
    active: false,
    open() {
        this.show = true;
        setTimeout(() => {
            this.active = true;
        }, 50)
    },
    close() {
        this.active = false;
        setTimeout(() => {
            this.show = false;
        }, 300)
    }


}, {}, { deep: false });

export default textEditorerStore;